package net.wanho.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class BuyListVo {
    // "buyId": 1,
    //                "productId": 1,
    //                "storeId": 1,
    //                "buyNum": 200,
    //                "factBuyNum": 198,
    //                "buyTime": "2023-12-19",
    //                "supplyId": 1,
    //                "placeId": 2,
    //                "buyUser": "rose",
    //                "phone": "13474421775",
    //                "isIn": "1",
    //                "productName": "海尔电视d1-1111",
    //              "storeName": "西安仓库",
    //  "startTime": null,
    //          "endTime": null

    private Integer buyId;
    private Integer productId;
    private Integer storeId;
    private Integer buyNum;
    private Integer factBuyNum;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date buyTime;
    private Integer supplyId;
    private Integer placeId;
    private String buyUser;
    private String phone;
    private String isIn;
    private String productName;
    private String storeName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
}
